﻿using System;
using System.Html.DOM;

namespace jQueryLib
{
    public abstract partial class JQueryInstance
    {
        /// <summary>
        /// A string containing the jQuery version number.
        /// </summary>
        public readonly string Jquery;

        public readonly int Length;

        /// <summary>
        /// Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
        /// </summary>
        /// <returns></returns>
        public abstract Promise Promise();//Extend:(type, target);

        public HtmlElement this[int idx]
        {
            get { return null; }
        }
    }
}
